package service;

import model.Goods;

import java.util.List;
import java.util.Map;

public interface IGoodsService {
    public List<Goods> list(Goods goods);

    public int totalCount(Goods goods);

    public List<Goods> selectParentId(Goods goods);
    public String selectSortId(Goods goods);

    public List<Goods> sort(Goods goods);

    public int update(Goods goods);
    public int insert(Goods goods);

    public List<Goods> queryOff(Goods goods);
    public int totalCountOff(Goods goods);

    public int updateStatus(Map<String,String> map);
}
